////TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
//// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
//public class Main {
//    public static void main(String[] args) {
//        int [] arry = {1, 2, 3, 4};
//        double a = avg(arry);
//        System.out.println(a);
//    }
//    public static double avg(int[] arry){
//        int ret = 0;
//        double x = 0,lenth = arry.length;
//        for(int i = 0;i < arry.length;i++){
//            ret += arry[i];
//        }
////        x = ret/lenth;
//        x = ret/ arry.length;
//        return x;
//    }
//}
//TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
